Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

compatible with mingw and Windows #154

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

Conversation

ygj6
Copy link

@ygj6 ygj6 commented Apr 11, 2020

There are many issues when running on mingw-w64:

  • incorrect compilation options: -fstack-protector-strong and -march=i486
  • MIN is not defined
  • missing time.h and ws2tcpip.h
  • missing macro check EVHTP_DISABLE_REGEX

and on Windows:

  • invalid headers: unistd.h, strings.h
  • missing declare __declspec(dllexport)
  • misusing DEPRECATED macro
  • not implemented fnctions strcasecmp, strncasecmp, SSIZE_T ,mempcpy
  • colored log is superfluous
  • incompatible macro: bind__sock_port0_
  • incompatible expression: a ?: b, char buffer[variable]
  • missing WSAStartup() when using Windows socket API
  • missing getopt

@ygj6 ygj6 force-pushed the develop branch 5 times, most recently from 79b6c60 to a252913 Compare April 14, 2020 01:39
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants